package cn.itcast.mp.pojo;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_user")
public class User {
    @TableId(type = IdType.AUTO)
    private Long id;
    // @TableField(value = "username", insertStrategy = FieldStrategy.NOT_NULL)
    private String name;
    private Integer age;
    private String email;
}